package be.groept.ace.enquete.model.dao;

import be.groept.ace.enquete.model.exceptions.DAOException;

public interface DAOManager {
	public UserDAO getUserDAO() throws DAOException;
	public SurveyDAO getSurveyDAO() throws DAOException;
	public QuestionDAO getQuestionDAO() throws DAOException;
	
	public Object transaction(DAOCommand command) throws DAOException;
	public Object executeAndClose(DAOCommand command) throws DAOException;
	public Object transactionAndClose(DAOCommand command) throws DAOException;
	
}
